package cn.tedu.clyback.department.mapper;


import cn.tedu.clyback.department.pojo.dto.DepartmentSelectParam;
import cn.tedu.clyback.department.pojo.entity.Department;
import cn.tedu.clyback.department.pojo.vo.DepartmentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {


    List<DepartmentVO> selectDepartment(DepartmentSelectParam departmentSelectParam);

    void updateStatus(Department department);


    void deleteDepartment(Integer id);

    void insert(Department department);

    void update(Department department);
}